package com.xuecheng.manage_cms.dao;

import com.xuecheng.framework.domain.cms.CmsPage;
import org.springframework.data.mongodb.repository.MongoRepository;

/**
 * @author zhenzhang
 * @date 2021/6/2 23:12
 */
public interface CmsPageRepository extends MongoRepository<CmsPage, String> {
    //根据页面名称、站点id、页面访问路径查询
    CmsPage findByPageNameAndSiteIdAndPageWebPath(String pageName, String siteId, String
            pageWebPath);
}
